package com.zzxy.spring5.service.impl;

import com.zzxy.spring5.service.IStudentService;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements IStudentService {
    @Override
    public void addStudent() {
        System.out.println("add success");
    }

    @Override
    public void delStudent() {
        System.out.println("delete success");
    }

    @Override
    public void updateStudent() {
        System.out.println("update success");
    }

//* com.zzxy.spring5.service.*.*.*(..)
    // com.zzxy.spring5.service..
    public int test() {
    int i = 1 / 0;
        System.out.println("test ..");
    return 1;
   }
}
